package com.cheyun.netsalev3.utils.api

import com.google.gson.annotations.SerializedName
import java.io.Serializable

/**
 * @author Michael
 * @date  2018/11/6 - 17:11.
 */
class DmBaseResp<ListT,DataT> : Serializable {

    @SerializedName("code")
    var code: Int = 0

    @SerializedName("msg")
    var msg: String? = null

    @SerializedName("message")
    var message: String? = null

    @SerializedName("data")
    var data: DataT? = null

    @SerializedName("list")
    var list: ListT? = null

    @SerializedName("state")
    var state: String? = null


    override fun toString(): String {
        return "DmBaseResp{" +
                "code=" + code +
                "state=" + state +
                ", msg='" + msg + '\''.toString() +
                ", data=" + data.toString() +
                ", list=" + list.toString() +
                '}'.toString()
    }

}